package com.coin900.coin.server.fu.ctrl;

import com.coin900.coin.base.FuConstants;
import com.coin900.coin.server.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * @author shui
 * @create 2017-11-29
 **/
@Controller
public class FuPartnerCtrl extends BaseController{

    @RequestMapping(value = "/partner", method = RequestMethod.GET)
    public ModelAndView toLogin(String viewType,
                                HttpServletRequest request) {

        if(FuConstants.FU_PAGE.equals(viewType)){
            ModelAndView modelAndView = super.buildView(request, "project/partner");
            return modelAndView;
        }

        return null;
    }
}
